public class test {
    public static void main(String[] args) {
        System.out.println(5^6^5);
    }
}
